package com.example.demo.user.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "登录响应")
public class UserLoginResponse {

    @Schema(description = "JWT 令牌", example = "Bearer ...")
    private String token;

    @Schema(description = "用户信息")
    private UserResponse user;
}
